package com.hz.basic.dao;

import com.hz.basic.entity.CbExpandResourceEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author tongxiaowu
 * @email 15755337992@163.com
 * @date 2021-08-15 17:30:57
 */
@Mapper
public interface CbExpandResourceDao extends BaseMapper<CbExpandResourceEntity> {

    List<CbExpandResourceEntity> getexpandresource(Long cid,String condition,int index, int numpage);

    List<CbExpandResourceEntity> getallexpandresource(Long cid,String condition,int index, int numpage);

    List<CbExpandResourceEntity> getallstiffexpandresource(Long cid,String condition,int index, int numpage);

    int getexpandresourcetotal(Long cid,String condition);

    int getallexpandresourcetotal(Long cid,String condition);

    int getallstiffexpandresourcetotal(Long cid,String condition);
}
